Try again to fix FreeBSD bug re multithreaded memory alloc.
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 4 Jul 2013 06:20:55 +0000 (23:20 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 4 Jul 2013 06:20:55 +0000 (23:20 -0700)
commit5da8d1ba46a1c029a774f6a8a74658e4a206adfd
treeb0bf7a476109634fe34262c8a17920d13848e95d
parent2cb372bf14dd55f7b37f29825f577a6e455c087a
Try again to fix FreeBSD bug re multithreaded memory alloc.

* emacs.c (main) [HAVE_PTHREAD && !SYSTEM_MALLOC && !DOUG_LEA_MALLOC]:
Do not clear _malloc_thread_enabled_p, undoing the previous change,
which did not work (see <http://bugs.gnu.org/14569#307>).
(main): Do not invoke malloc_enable_thread if (! CANNOT_DUMP
&& (!noninteractive || initialized)).  This attempts to thread
the needle between the Scylla of FreeBSD and the Charybdis of Cygwin.
src/ChangeLog
src/emacs.c